function T = dynamic_g1_tt(T, y, x, params, steady_state, it_)
% function T = dynamic_g1_tt(T, y, x, params, steady_state, it_)
%
% File created by Dynare Preprocessor from .mod file
%
% Inputs:
%   T             [#temp variables by 1]     double  vector of temporary terms to be filled by function
%   y             [#dynamic variables by 1]  double  vector of endogenous variables in the order stored
%                                                    in M_.lead_lag_incidence; see the Manual
%   x             [nperiods by M_.exo_nbr]   double  matrix of exogenous variables (in declaration order)
%                                                    for all simulation periods
%   steady_state  [M_.endo_nbr by 1]         double  vector of steady state values
%   params        [M_.param_nbr by 1]        double  vector of parameter values in declaration order
%   it_           scalar                     double  time period for exogenous variables for which
%                                                    to evaluate the model
%
% Output:
%   T           [#temp variables by 1]       double  vector of temporary terms
%

assert(length(T) >= 267);

T = Dynamic_GFT_exponents.dynamic_resid_tt(T, y, x, params, steady_state, it_);

T(205) = (-(y(1)*exp(y(14))*exp(y(2))*1/exp(y(49))));
T(206) = (-T(188));
T(207) = (-(T(188)+T(190)));
T(208) = (-T(80))/((1+y(31))*(1+y(31)));
T(209) = getPowerDeriv(T(109),params(2),1);
T(210) = (-(T(111)*params(11)*T(109)*T(209)));
T(211) = getPowerDeriv(T(87),params(4),1);
T(212) = getPowerDeriv(T(88),params(4),1);
T(213) = getPowerDeriv(T(89),params(4),1);
T(214) = (-(T(34)*exp(y(230))))/(exp(y(230))*exp(y(230)));
T(215) = exp(y(38))*getPowerDeriv(exp(y(38)),T(4),1);
T(216) = exp(y(39))*getPowerDeriv(exp(y(39)),T(4),1);
T(217) = (-(exp(y(41))*exp(y(119))*exp(y(16))/T(7)));
T(218) = (-(exp(y(41))*exp(y(127))*exp(y(17))/T(7)));
T(219) = getPowerDeriv(params(1)*exp(y(43))*params(39)*(1+params(38)*(1-x(it_, 1))),T(4),1);
T(220) = getPowerDeriv(params(1)*exp(y(43))*params(51)*(1+params(50)*(1-x(it_, 10))),T(4),1);
T(221) = getPowerDeriv(params(1)*exp(y(43))*params(63)*(1+params(62)*(1-x(it_, 19))),T(4),1);
T(222) = getPowerDeriv(params(1)*exp(y(43))*params(40)*(1-x(it_, 2)),T(4),1);
T(223) = getPowerDeriv(params(1)*exp(y(43))*params(52)*(1-x(it_, 11)),T(4),1);
T(224) = getPowerDeriv(params(1)*exp(y(43))*params(64)*(1-x(it_, 20)),T(4),1);
T(225) = params(1)*exp(y(43))*getPowerDeriv(params(1)*exp(y(43)),T(4),1);
T(226) = getPowerDeriv(exp(y(44))*params(2)*params(11)*T(102),T(103),1);
T(227) = (-(exp(y(14))*y(6)*exp(y(7))*1/exp(y(76))));
T(228) = (-T(186));
T(229) = (-(T(186)+T(191)));
T(230) = (-T(80))/((1+y(58))*(1+y(58)));
T(231) = getPowerDeriv(T(112),params(2),1);
T(232) = (-(T(114)*params(21)*T(112)*T(231)));
T(233) = getPowerDeriv(T(90),params(4),1);
T(234) = getPowerDeriv(T(91),params(4),1);
T(235) = getPowerDeriv(T(92),params(4),1);
T(236) = (-(T(38)*exp(y(234))))/(exp(y(234))*exp(y(234)));
T(237) = exp(y(65))*getPowerDeriv(exp(y(65)),T(4),1);
T(238) = exp(y(66))*getPowerDeriv(exp(y(66)),T(4),1);
T(239) = (-(exp(y(68))*exp(y(143))*exp(y(19))/T(11)));
T(240) = (-(exp(y(68))*exp(y(151))*exp(y(20))/T(11)));
T(241) = getPowerDeriv(params(1)*exp(y(70))*params(43)*(1+params(42)*(1-x(it_, 4))),T(4),1);
T(242) = getPowerDeriv(params(1)*exp(y(70))*params(55)*(1+params(54)*(1-x(it_, 13))),T(4),1);
T(243) = getPowerDeriv(params(1)*exp(y(70))*params(67)*(1+params(66)*(1-x(it_, 22))),T(4),1);
T(244) = getPowerDeriv(params(1)*exp(y(70))*params(44)*(1-x(it_, 5)),T(4),1);
T(245) = getPowerDeriv(params(1)*exp(y(70))*params(56)*(1-x(it_, 14)),T(4),1);
T(246) = getPowerDeriv(params(1)*exp(y(70))*params(68)*(1-x(it_, 23)),T(4),1);
T(247) = params(1)*exp(y(70))*getPowerDeriv(params(1)*exp(y(70)),T(4),1);
T(248) = getPowerDeriv(T(102)*exp(y(71))*params(2)*params(21),T(103),1);
T(249) = (-(exp(y(82))*T(42)*exp(y(162))/(1+params(62)*(1-x(it_, 19)))));
T(250) = (-(exp(y(82))*T(42)*exp(y(170))/(1+params(66)*(1-x(it_, 22)))));
T(251) = getPowerDeriv(1+y(85),T(76),1);
T(252) = T(251)/(1+y(31));
T(253) = T(251)/(1+y(58));
T(254) = ((1+y(85))*T(251)-T(80))/((1+y(85))*(1+y(85)));
T(255) = getPowerDeriv(T(115),params(2),1);
T(256) = (-(T(117)*params(31)*T(115)*T(255)));
T(257) = getPowerDeriv(T(93),params(4),1);
T(258) = getPowerDeriv(T(94),params(4),1);
T(259) = getPowerDeriv(T(95),params(4),1);
T(260) = (-(T(42)*exp(y(238))))/(exp(y(238))*exp(y(238)));
T(261) = exp(y(92))*getPowerDeriv(exp(y(92)),T(4),1);
T(262) = exp(y(93))*getPowerDeriv(exp(y(93)),T(4),1);
T(263) = getPowerDeriv(T(102)*exp(y(98))*params(2)*params(31),T(103),1);
T(264) = T(75)*getPowerDeriv(T(75),(-params(2)),1);
T(265) = (-exp(y(110)))/(exp(y(110))*exp(y(110)));
T(266) = (-((-(exp(y(28))*T(34)*exp(y(122))*(-params(42))))/((1+params(42)*(1-x(it_, 4)))*(1+params(42)*(1-x(it_, 4))))));
T(267) = (-((-(exp(y(55))*T(38)*exp(y(138))*(-params(50))))/((1+params(50)*(1-x(it_, 10)))*(1+params(50)*(1-x(it_, 10))))));

end
